﻿using SCADA_SANEST.Models;
using SCADA_SANEST.Models.Line_2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCADA_SANEST.Services.Line_2
{
    public class Npc2Service : PlcBaseService
    {
        public Npc2Service(PlcDeviceStatus plcDevice) : base(plcDevice)
        {
            LoadSignals();
        }

        public override void LoadSignals()
        {
            var signals = Npc2SignalMap.GetSignals();
            Signals.Clear();
            foreach (var signal in signals)
            {
                Signals.Add(signal);
            }
        }
    }
}